package com.rajaev.dtu.tractor.infrastructure.helper;

public class SnotiHelper {

    private static volatile long snoti_timestamp;

    /**
     * 根据接收到的报文，更新系统的时间
     */
    public static void refreshSystemTimeStamp(long snotiTimStamp) {
        snoti_timestamp = snotiTimStamp;
    }

    public static long getSnotiTimestamp() {
        return snoti_timestamp;
    }
}
